package com.zyz.api.base.activity;

import com.zyz.api.callback.ActivityCallback;
import com.zyz.base.response.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "activity", fallback = ActivityCallback.class)
public interface ActivityApi {

    @RequestMapping(value = "/activity/test", method = RequestMethod.POST)
    Message<String> test(String param);
}
